package com.ruoyi.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 门店对象 ims_yzzc_sun_branch
 * 
 * @author ruoyi
 * @date 2024-03-18
 */
public class ImsYzzcSunBranch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String name;

    /** $column.columnComment */
    //@Excel(name = "", readConverterExp = "")
    private Long uniacid;

    /**判断是不是超级管理员*/
    private Long isAdmin;

    /** 省 */
    //@Excel(name = "省")
    private Long province;

    /** 市 */
    //@Excel(name = "市")
    private Long city;

    /** 区 */
    //@Excel(name = "区")
    private Long area;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 经度 */
    //@Excel(name = "经度")
    private String lng;

    /** 纬度 */
    //@Excel(name = "纬度")
    private String lat;

    /** 是否送车上门 */
    @Excel(name = "是否送车上门",readConverterExp = "0=关闭,1=支持送车上门（10000km内）")
    private Integer ranges;

    /** 营业时间 */
    @Excel(name = "营业时间")
    private String businessHours;

    /** 服务热线 */
    @Excel(name = "服务热线")
    private String serviceTel;

    /** 联系人 */
    private String linkman;

    /** 门店电话 */
    @Excel(name = "门店电话")
    private String shopTel;

    /** 状态 */
    @Excel(name = "状态",readConverterExp = "0=停业,1=营业中")
    private String status;

    /** 门店创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    /** 用户的经度 */
    private String userLng;

    /** 用户的纬度 */
    private String  userLat;

    /** 用户与门店之前的距离 */
    private Double  distance;

    /**门店审核状态*/
    private String shopCheckStatus;

    /**门店是否有经纬度*/
    private String isCoordinate; /**门店是否有经纬度*/

    /** 父级id */
    private Long parentId;

    /** 父级id */
    private String ids;

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getIsCoordinate() {
        return isCoordinate;
    }

    public void setIsCoordinate(String isCoordinate) {
        this.isCoordinate = isCoordinate;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }
    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public String getUserLng() {
        return userLng;
    }

    public void setUserLng(String userLng) {
        this.userLng = userLng;
    }

    public String getUserLat() {
        return userLat;
    }

    public void setUserLat(String userLat) {
        this.userLat = userLat;
    }

    public Long getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Long isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String getShopCheckStatus() {
        return shopCheckStatus;
    }

    public void setShopCheckStatus(String shopCheckStatus) {
        this.shopCheckStatus = shopCheckStatus;
    }

    private Long[] areaCity;

    public Long[] getAreaCity() {
        return areaCity;
    }

    private Long deptId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /** 门店照片 */
    //@Excel(name = "门店照片")
    private String pic;

    public void setAreaCity(Long[] areaCity) {
        this.areaCity = areaCity;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUniacid(Long uniacid) 
    {
        this.uniacid = uniacid;
    }

    public Long getUniacid() 
    {
        return uniacid;
    }
    public void setProvince(Long province) 
    {
        this.province = province;
    }

    public Long getProvince() 
    {
        return province;
    }
    public void setCity(Long city) 
    {
        this.city = city;
    }

    public Long getCity() 
    {
        return city;
    }
    public void setArea(Long area) 
    {
        this.area = area;
    }

    public Long getArea() 
    {
        return area;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLng(String lng) 
    {
        this.lng = lng;
    }

    public String getLng() 
    {
        return lng;
    }
    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }
    public void setRanges(Integer ranges) 
    {
        this.ranges = ranges;
    }

    public Integer getRanges() 
    {
        return ranges;
    }
    public void setBusinessHours(String businessHours) 
    {
        this.businessHours = businessHours;
    }

    public String getBusinessHours() 
    {
        return businessHours;
    }
    public void setServiceTel(String serviceTel) 
    {
        this.serviceTel = serviceTel;
    }

    public String getServiceTel() 
    {
        return serviceTel;
    }
    public void setShopTel(String shopTel) 
    {
        this.shopTel = shopTel;
    }

    public String getShopTel() 
    {
        return shopTel;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("uniacid", getUniacid())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("address", getAddress())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("ranges", getRanges())
            .append("businessHours", getBusinessHours())
            .append("serviceTel", getServiceTel())
            .append("shopTel", getShopTel())
            .append("createtime", getCreatetime())
            .append("status", getStatus())
            .append("pic", getPic())
            .toString();
    }
}
